<html>
<head>
<title>Arrays</title>
</head>
<body>
<script type="text/javascript">
var A=new Array(4);
A[0]=10;
A[1]=20;
A[2]=A[0]*A[1];
A[3]=A[2]/A[0];
document.write("A  = ");
document.write(A[0]);
document.write("<br>");
document.write("B  = ");
document.write(A[1]);
document.write("<br>");
document.write("C  = A*B  =  ");
document.write(A[2]);
document.write("<br>");
document.write("D  = C/A  =  ");
document.write(A[3]);
</script>
</body>
</html>